package com.virus.mall.model;

import java.sql.Date;
import java.util.List;

/**
 * @Classname Orders
 * @Description 订单bean
 * @Date 2021/4/19 13:05
 * @Created by virus
 */
public class Orders {

    private Integer id;

    private Integer userId;

    private Integer goodsDetailId;

    private Integer goodsId;

    private String goods;

    private String spec;

    private List<Spec> specs;

    private Integer goodsNum;

    private Double amount;

    private Integer stateId;

    private Date createtime;

    private Date updatetime;

    private String nickname;

    private String receiver;

    private String address;

    private String phone;

    private Integer moneyLimit1;

    private Integer moneyLimit2;

    private Integer pagesize;

    private Integer currentPage;

    public Orders() {
    }

    public Orders(Integer id, String goods, Integer stateId, String receiver, String address, Integer moneyLimit1, Integer moneyLimit2, Integer pagesize, Integer currentPage) {
        this.id = id;
        this.goods = goods;
        this.stateId = stateId;
        this.receiver = receiver;
        this.address = address;
        this.moneyLimit1 = moneyLimit1;
        this.moneyLimit2 = moneyLimit2;
        this.pagesize = pagesize;
        this.currentPage = currentPage;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsDetailId() {
        return goodsDetailId;
    }

    public void setGoodsDetailId(Integer goodsDetailId) {
        this.goodsDetailId = goodsDetailId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public List<Spec> getSpecs() {
        return specs;
    }

    public void setSpecs(List<Spec> specs) {
        this.specs = specs;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getStateId() {
        return stateId;
    }

    public void setStateId(Integer stateId) {
        this.stateId = stateId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getMoneyLimit1() {
        return moneyLimit1;
    }

    public void setMoneyLimit1(Integer moneyLimit1) {
        this.moneyLimit1 = moneyLimit1;
    }

    public Integer getMoneyLimit2() {
        return moneyLimit2;
    }

    public void setMoneyLimit2(Integer moneyLimit2) {
        this.moneyLimit2 = moneyLimit2;
    }

    public Integer getPagesize() {
        return pagesize;
    }

    public void setPagesize(Integer pagesize) {
        this.pagesize = pagesize;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }
}
